<%@ page language="java" contentType="image/jpeg"%>
    <%@ page import = "java.io.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
</head>
<body>
<div>
<%
	DataInputStream imagedis = new DataInputStream(new FileInputStream("f:/1.jpg"));
	try {
		byte[] imagebyte = new byte[imagedis.available()];
		imagedis.readFully(imagebyte);
		imagedis.close();
		ServletOutputStream sos = response.getOutputStream();
		sos.write(imagebyte);
		sos.close();
	} catch (Exception e) {
	}
%>
</div>
</body>
</html>